import {
    v4 as uuidv4
} from 'uuid';

export default function getUserID() {
    let uesrTempID_KEY = localStorage.getItem("uesrTempID_KEY");
    if (uesrTempID_KEY) {
        return uesrTempID_KEY
    }

    uesrTempID_KEY = uuidv4();
    localStorage.setItem("uesrTempID_KEY",uesrTempID_KEY)
    return uesrTempID_KEY
}